what is the greatest common divisor for 12 and 24